package com.service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dao.EmpDAO;
import com.pojo.Emp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmpService extends ServiceImpl<EmpDAO, Emp> {

    @Autowired
    private EmpDAO empDAO;

    public List finaAll()
    {
        return empDAO.selectList(null);
    }
}
